using System;
using CQRS.Reports;

namespace CQRS.Sample.Domain.ReportDtos
{
    public class PlaneReport : Report
    {
        public PlaneReport(string planeName, string manufacturer, Guid id) : base(id)
        {
            PlaneName = planeName;
            Manufacturer = manufacturer;
            HasCrashed = false;
            HasBeenRepaired = false;
        }

        public PlaneReport(string planeName, string manufacturer, bool hasCrashed, bool hasBeenRepaired,
                           Guid id)
            : base(id)
        {
            PlaneName = planeName;
            Manufacturer = manufacturer;
            HasCrashed = hasCrashed;
            HasBeenRepaired = hasBeenRepaired;
        }

        public string PlaneName { get; private set; }
        public string Manufacturer { get; private set; }
        public bool HasCrashed { get; set; }
        public bool HasBeenRepaired { get; set; }
    }
}